import React, { Component } from 'react'
import { Button, ListView } from 'antd-mobile'
import { hashHistory } from 'react-router'
import { config, helper, myFetch } from '../utils'

export default class NoticeList extends Component {
  constructor() {
    super()
    this.state = {
      news: [],
      last: '',
      isLoading: true,
      isEnd: false,
      active:0,
    }
  }
  render() {
    return (
      <div className="rt-notice-list">
        <ul>
          <li className="-list">
            <h3 className="notice-title">关于开通借记卡支付通道的通知</h3>
            <p className="-time">2016-05-10 09:21:47</p>
            <p className="detail"
              onClick={
                () => {
                  hashHistory.push('/notice/detail')
                }
              }
            >查看详情</p>
          </li>

        </ul>
      </div>
    )
  }
}